Recursive Graph Deduction and Reachability Queries

نویسنده

  • Yangjun Chen
چکیده

In this paper, we discuss an adjustable strategy for the transitive closure compression to support graph reachability queries, asking whether a given node u in a directed graph G is reachable from another node v through a path. The main idea behind it is to define a series of graph deductions G0(V0, E0) (= G), G1(V1, E1), ..., Gk(Vk, Ek) with ni > ni+1 (i = 0, ..., k 1), where ni = |Vi|. Each node v will be associated with an interval sequence [ v 0 α , v 0 β ), ..., [ v j α , v j β ) (j ≤ k 1) with each [ v i α , v i β ) used to check reachability in Gi. Together with a subgraph structure (called the core graph of G) and a small matrix (called the core matrix), the reachability checking can be done in O(k) time. The size of the compressed transitive closure is bounded by O(kn0 + bknk), where bk is the width of Gk, defined to be the size of a largest node subset U of Gk such that for every pair of nodes u, v ∈ U, there does not exist a path from u to v or from v to u in Gk. The time for generating such a compressed transitive closure is bounded by O(e0 + kn0 + 2 k n + bknk k b ), where e0 = |E0|. For different applications, we can adjust k to different constants to get effective space reduction, but still have constant query time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Analyzing P2P Overlays with Recursive Queries

We explore the utility and execution of recursive queries as an interface for querying distributed network graph structures. To illustrate the power of recursive queries, we give several examples of computing structural properties of a P2P network such as reachability and resilience. To demonstrate the feasibility of our proposal, we sketch execution strategies for these queries using PIER, a P...

متن کامل

K-Reach: Who is in Your Small World

We study the problem of answering k-hop reachability queries in a directed graph, i.e., whether there exists a directed path of length k, from a source query vertex to a target query vertex in the input graph. The problem of k-hop reachability is a general problem of the classic reachability (where k = ∞). Existing indexes for processing classic reachability queries, as well as for processing s...

متن کامل

HUGS - A Lightweight Graph Partitioning Approach

The growing interest in graph data lead to increasingly more research in the field of graph data management and graph analytics. Nowadays, even large graphs of upto a size of billions of vertices and edges fit into main memory of big modern multisocket machines, making them a first-grade platform for graph management and graph analytics. High performance data management solutions have to be awa...

متن کامل

Cost-based optimization of graph queries in relational database management systems

Graphs occur in many areas of life. We are interested in graphs in biology, where nodes are chemical compounds, enzymes, reactions, or interactions, which are connected by either directed or undirected edges. Efficiently querying these graphs is a challenging task. In this thesis we present GRIcano, a system that efficiently executes graph queries. For GRIcano we assume that graphs are stored a...

متن کامل

Graph Reachability Queries: A Survey

There are numerous applications that need to deal with a large graph, including bioinformatics, social science, link analysis, citation analysis, and collaborative networks. A fundamental query is to query whether a node is reachable from another node in a large graph, which is called a reachability query. In this survey, we discuss several existing approaches to process reachability queries. I...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010